/*                             商品                            */

main {
    width: 968px;
    height: 669px;
    margin: 0 auto 39px;
}

/* 左边 */

main .left {
    width: 400px;
    height: 100%;
    float: left;
    position: relative;
}

main .left .wrap {
    width: 100%;
    height: 600px;
}

main .left .wrap .spic {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

main .left .wrap .spic .smallpic {
    width: 400px;
}

main .left .wrap .spic .sf {
    visibility: hidden;
    width: 200px;
    height: 200px;
    background: cyan;
    opacity: 0.3;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: move;
}

main .left .wrap span {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

main .left .bf {
    visibility: hidden;
    width: 400px;
    height: 400px;
    border: 2px solid #ccc;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: -418px;
    z-index: 999;
}

main .left .bf .bpic {
    width: 800px;
    position: absolute;
    top: 0;
    left: 0;
}

/* 图片列表 */

main .left .pic_list {
    height: 60px;
    position: relative;
    top: 9px;
}

main .left .pic_list nav {
    width: 340px;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

main .left .pic_list nav ul {
    /* width: 9999px; */
    position: absolute;
    left: 0;
}

main .left .pic_list nav ul li {
    width: 60px;
    height: 60px;
    border-bottom: 2px solid transparent;
    float: left;
    margin-left: 10px;
    cursor: pointer;
    overflow: hidden;
}

main .left .pic_list nav ul li:first-of-type, main .left .pic_list nav ul li:nth-of-type(6) {
    margin-left: 0;
}

main .left .pic_list nav ul li img {
    opacity: .5;
}

main .left .pic_list nav ul li img {
    width: 100%;
}

/* 左右箭头 */

main .left .pic_list button {
    display: none;
    width: 12px;
    height: 22px;
    background-color: #fff;
    background-image: url('https://s10.mogucdn.com/p2/170122/117603130_6a8jgjh899bh5jd6hcia3ehhj0113_221x704.png');
    background-repeat: no-repeat;
    border: 0;
    position: absolute;
    top: 17px;
    cursor: pointer;
}

main .left .pic_list button:first-of-type {
    background-position: -10px -256px;
    left: 0;
}

main .left .pic_list button:last-of-type {
    background-position: -10px -217px;
    right: 0;
}

/* 右边 */

main .right {
    width: 537px;
    float: right;
}

main .right div {
    margin-top: 23px;
    position: relative;
}

main .right div span:first-of-type {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
    position: absolute;
    top: 3px;
}

/* 价格 */

main .right .price_wrap {
    width: 540px;
    height: 32px;
    background: #eee;
    position: relative;
    right: 3px;
}

main .right .price_wrap span {
    line-height: 32px;
}

main .right .price_wrap .price, main .right .price_wrap .price span {
    font-size: 24px;
    font-weight: 700;
    color: #ef2f23;
}

main .right .price_wrap .price {
    margin-left: 69px;
    position: relative;
}

main .right .price_wrap .price span {
    position: absolute;
    top: -3px;
    left: 5px;
}

/* 颜色 */

/* 尺码 */

main .right .color ul, main .right .size ul {
    display: inline-block;
    margin-left: 64px;
}

main .right .color ul li, main .right .size ul li {
    float: left;
    margin-left: 13px;
    cursor: pointer;
}

main .right .color ul li {
    padding: 2px;
}

main .right .color ul li:hover {
    padding: 0!important;
    border: 2px solid #666!important;
}

.colorselect {
    padding: 0!important;
    border: 2px solid #666!important;
}

main .right .size ul li {
    border: 1px solid #ddd;
}

main .right .size ul li:hover {
    padding: 0 9px!important;
    border: 2px solid #666!important;
}

.sizeselect {
    padding: 0 9px!important;
    border: 2px solid #666!important;
}

main .right .color ul li img {
    width: 47px;
}

main .right .size ul li {
    height: 32px;
    font-size: 12px;
    color: #333;
    font-weight: 700;
    text-align: center;
    line-height: 31px;
    padding: 1px 10px;
    margin-bottom: 6px;
}

/* 数量 */

main .right .number_wrap .number {
    display: inline-block;
    width: 95px;
    height: 25px;
    border: 1px solid #ddd;
    margin-left: 77px;
    position: relative;
}

main .right .number_wrap .number button {
    display: inline-block;
    width: 25px;
    height: 25px;
    border: 0;
    background-color: transparent;
    background-image: url('https://s10.mogucdn.com/p2/170122/117603130_6a8jgjh899bh5jd6hcia3ehhj0113_221x704.png');
    background-repeat: no-repeat;
    cursor: pointer;
}

main .right .number_wrap .number button:first-of-type {
    border-right: 1px solid #ddd;
    background-position: -3px 2px;
    float: left;
}

main .right .number_wrap .number button:last-of-type {
    border-left: 1px solid #ddd;
    background-position: -3px -78px;
    float: right;
}

main .right .number_wrap .number input {
    width: 43px;
    height: 100%;
    font-size: 14px;
    color: #000;
    text-align: center;
    border: 0;
    float: left;
}

/* 加入购物车 */

main .right .cart {
    width: 198px;
    height: 48px;
    font-size: 20px;
    text-align: center;
    line-height: 48px;
    background: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    margin: 23px 0 0 66px;
}

/* 服务说明 */

main .right .service a {
    font-size: 12px;
    color: #666;
    line-height: 24px;
    margin: 0 20px 10px 0;
}

main .right .service a:first-of-type, main .right .service a:last-of-type {
    margin-left: 69px;
}

main .right .service a img {
    width: 24px;
}

/* 支付方式 */

main .right .pay section {
    width: 131px;
    height: 20px;
    background-image: url('https://s10.mogucdn.com/p2/170122/117603130_6a8jgjh899bh5jd6hcia3ehhj0113_221x704.png');
    background-position: -10px -295px;
    background-repeat: no-repeat;
    margin-left: 69px;
}

/* 侧边栏 */

aside {
    width: 30px;
    height: 100%;
    background: #202020;
    position: fixed;
    right: 0;
    z-index: 9999;
}

aside ul {
    margin: 100px auto 0;
}

aside ul li {
    position: relative;
}

aside ul li a {
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 15px;
    padding: 10px 7px;
}

aside ul li:first-of-type .appcode {
    display: none;
    width: 181px;
    height: 200px;
    position: absolute;
    left: -174px;
    top: -10px;
}

aside ul li:first-of-type a img {
    width: 16px;
}

aside ul li a:hover {
    background: #f46;
}

aside ul li:first-of-type a:hover {
    background: unset;
}

aside ul li nav li a {
    padding: 4px 0;
}

/* 二级菜单 */

aside ul li nav li a:hover {
    background: unset;
    text-decoration: underline;
}

aside ul li:nth-of-type(5) nav, aside ul li:nth-of-type(6) nav {
    display: none;
    width: 103px;
    padding: 10px 0 10px 24px;
    background-color: #494949;
    border-radius: 2px 0 0 2px;
    position: absolute;
    top: 0;
    left: -103px;
}

aside ul li:nth-of-type(5) nav {
    height: 83px;
}

aside ul li:nth-of-type(6) nav {
    height: 108px;
}